const router = require('koa-router')()


router.get('/', (ctx) => {
  ctx.body = { title: 'api接口' }
})

router.get('/newslist', (ctx) => {
  ctx.body = { title: '新闻列表api' }
})

router.get('/focus', (ctx) => {
  ctx.body = { title: '轮播图api' }
})

module.exports = router.routes()